package com.binance.basedao.mybatis;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * <b>Description:</b>〈排序字段〉<br/>
 * @author hongchaoMao <br/>
 *         Create date: 2017/9/18
 * @version v1.0.0
 */
@Data
@AllArgsConstructor
public class Sort implements Serializable
{
    private static final long serialVersionUID = 7026434198845897214L;

    public static final String DESC = "DESC";

    public static final String ASC = "ASC";

    // 具体排序的列名(注意:不是Entity的属性名)
    private String column;
    // DESC 或者 ASC
    private String direction;

}
